package com.deyang.workflow.entity;

import java.time.LocalDate;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 工单详情记录表
 * </p>
 *
 * @author zhanghuaiyu
 * @since 2021-07-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="WorkOrderDetails对象", description="工单详情记录表")
@TableName("work_order_details")
public class WorkOrderDetails implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "序号")
    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "工单编号")
    private String workOrderId;

    @ApiModelProperty(value = "工单名称")
    @TableField
    private String workOrderName;

    @ApiModelProperty(value = "节点名称")
    private String nodeName;

    @ApiModelProperty(value = "当前处理人")
    private String creator;

    @ApiModelProperty(value = "处理方式")
    private String processMode;

    @ApiModelProperty(value = "下级处理人")
    private String nextCreator;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "页面配置地址")
    private String pageAddress;

    @ApiModelProperty(value = "流转间隔时间")
    private String intervalTime;

    @ApiModelProperty(value = "催办时间")
    private String urgeTime;

    @ApiModelProperty(value = "是否可协同")
    private String synergyStatus;

    @ApiModelProperty(value = "通知方式")
    private String messageType;

    @ApiModelProperty(value = "是否可驳回")
    private String rejectStatus;

    @ApiModelProperty(value = "工单状态，是否已处理或者未处理")
    @TableField("STATUS")
    private String status;

    @ApiModelProperty(value = "是否存在转派申请")
    private String redeployStatus;

    @ApiModelProperty(value = "转派申请原因")
    private String redeployCause;

    @ApiModelProperty(value = "图片地址")
    private String photoPath;

    @ApiModelProperty(value = "视频地址")
    private String videoPath;

    @ApiModelProperty(value = "处理结果")
    private String dealResult;

    //图片处理信息
    @TableField(exist = false)
    private List<String> listImg;

}
